﻿import 'package:get/get.dart';
import 'activity_view.dart';
import 'activity_logic.dart';
import 'activity_calendar_view.dart';
import 'activity_calendar_logic.dart';

/// 活动模块路由配置
class ActivityRoutes {
  /// 活动主页
  static const String activity = '/activity';
  
  /// 活动日历
  static const String activityCalendar = '/activity_calendar';

  static final List<GetPage> routes = [
    GetPage(
      name: activity,
      page: () => const ActivityView(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => ActivityLogic());
      }),
    ),
    GetPage(
      name: activityCalendar,
      page: () => const ActivityCalendarView(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => ActivityCalendarLogic());
      }),
    ),
  ];
}
